package com.Dao;

import com.pojo.User;

import java.util.List;

public interface userDao {
    User login(String username,String password);
    Boolean findUserByUsername(String username);
    User findUserById(Integer id);
    Boolean addUser(User user);
    Boolean updateUser(User user);
    Boolean deleteUser(Integer id);
    List<User> findAllUser();
}
